<template>
  <div>
    <section class="hc-flexView">
      <section class="hc-scrollView">
        <div class="hc-head-read">
          <div class="hc-flex">
            <div class="hc-read-img">
              <img v-lazy="userinfo.userpic" alt="">
            </div>
            <div class="hc-flex-box">
              <h2>{{userinfo.nickname || '我的店铺'}}</h2>
              <h4 style="color: #fff;">{{shop_status.msg || ''}}</h4>
            </div>
          </div>
        </div>
        <div class="hc-white-box">
          <div class="hc-palace hc-palace-one">
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-text">
                <h1>{{shoptotal || '0.00'}}
                  <em>元</em>
                </h1>
                <h2>店铺销售总额</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-text">
                <h1>{{mytotal}}
                  <em>元</em>
                </h1>
                <h2>支付订单总额</h2>
              </div>
            </a>
          </div>
        </div>
        <!-- <div class="hc-white-box hc-white-box-clear">
          <div class="hc-flex b-line">
            <div class="hc-flex-box">
              <h3>我的订单</h3>
            </div>
            <div class="hc-arrow">
              <span>查看全部</span>
            </div>
          </div>
          <div class="hc-palace hc-palace-two hc-palace-line">
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-001.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>返现订单</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-002.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>待付款</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-003.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>待发货</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-004.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>待收货</h2>
              </div>
            </a>
          </div>
        </div> -->
        <!-- <div class="hc-white-box hc-white-box-clear">
          <div class="hc-palace hc-palace-two hc-palace-line">
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-005.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>任务奖励</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-006.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>任务提现</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-007.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>邀请好友</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-008.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>好友列表</h2>
              </div>
            </a>
          </div>
        </div> -->
        <div class="hc-white-box hc-white-box-clear">
          <div class="hc-flex b-line">
            <div class="hc-flex-box">
              <h3>我的</h3>
            </div>
          </div>
          <div class="hc-palace hc-palace-two hc-palace-line">
            <a href="javascript:;" @click="jump('myOrder')" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-009.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>我的订单</h2>
              </div>
            </a>
            <a href="javascript:;"  @click="jump('collection')" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-011.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>我的收藏</h2>
              </div>
            </a>
            <a href="javascript:;" @click="jump('storeOrder')" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-002.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>门店订单</h2>
              </div>
            </a>
			<a href="javascript:;" @click="jump('myGoods', {type: 'edit'})" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-003.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>我的商品</h2>
              </div>
            </a>
          </div>
        </div>
        <div class="hc-white-box hc-white-box-clear">
          <div class="hc-flex b-line">
            <div class="hc-flex-box">
              <h3>常用功能</h3>
            </div>
          </div>
          <div class="hc-palace hc-palace-two ">
            <a @click="handlerUpdateShop"  href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-013.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>修改店铺</h2>
              </div>
            </a>
            <a @click="handlerAddGoods"  href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-014.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>新增商品</h2>
              </div>
            </a>
            <a @click="handlerMyMessage" href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-015.png" alt="">
                <div v-if="userinfo.unread != 0" class="hc-message-icon"></div>
              </div>
              <div class="hc-palace-grid-text">
                <h2>我的消息</h2>
              </div>
            </a>
            <a @click="jump('advertisingList', { isSelf: 1 })" href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-016.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>我的分享</h2>
              </div>
            </a>
            <!-- <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-015.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>阅读赚钱</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-016.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>每日抽奖</h2>
              </div>
            </a> -->
          </div>
        </div>
        <!-- <div class="hc-white-box hc-white-box-clear">
          <div class="hc-flex b-line">
            <div class="hc-flex-box">
              <h3>必备工具</h3>
            </div>
          </div>
          <div class="hc-palace hc-palace-two ">
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-017.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>积分</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-018.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>分享app</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-019.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>领劵指南</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-020.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>客服反馈</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-021.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>五星好评</h2>
              </div>
            </a>
            <a href="javascript:;" class="hc-palace-grid">
              <div class="hc-palace-grid-icon">
                <img src="../../assets/image/nav-022.png" alt="">
              </div>
              <div class="hc-palace-grid-text">
                <h2>设置</h2>
              </div>
            </a>
          </div>
        </div>
        <div class="hc-read-title">
          <img src="../../assets/image/title.png" alt="">
        </div>
        <div class="hc-list-theme-box">
          <a href="javascript:;" class="hc-list-item">
            <div class="hc-list-theme-img">
              <img src="../../assets/image/sp1.png" alt="">
            </div>
            <div class="hc-list-theme-message">
              <h3 class="hc-list-theme-subtitle">
                <em>包邮</em> Levi's李维斯男士黑色Box Logo 印花短袖</h3>
              <div class="hc-flex">
                <div class="hc-flex-box">
                  <h2>
                    <i>￥899</i>
                    <em class="red">现金红包</em>
                  </h2>
                  <h2>
                    <em>￥</em>648
                    <i class="name">33万人付款</i>
                  </h2>
                </div>
              </div>
            </div>
          </a>
          <a href="javascript:;" class="hc-list-item">
            <div class="hc-list-theme-img">
              <img src="../../assets/image/sp2.png" alt="">
            </div>
            <div class="hc-list-theme-message">
              <h3 class="hc-list-theme-subtitle">
                <em>包邮</em> Levi's李维斯男士黑色Box Logo 印花短袖</h3>
              <div class="hc-flex">
                <div class="hc-flex-box">
                  <h2>
                    <i>￥899</i>
                    <em class="red">现金红包</em>
                  </h2>
                  <h2>
                    <em>￥</em>648
                    <i class="name">33万人付款</i>
                  </h2>
                </div>
              </div>
            </div>
          </a>
          <a href="javascript:;" class="hc-list-item">
            <div class="hc-list-theme-img">
              <img src="../../assets/image/sp3.png" alt="">
            </div>
            <div class="hc-list-theme-message">
              <h3 class="hc-list-theme-subtitle">
                <em>包邮</em> Levi's李维斯男士黑色Box Logo 印花短袖</h3>
              <div class="hc-flex">
                <div class="hc-flex-box">
                  <h2>
                    <i>￥899</i>
                    <em class="red">现金红包</em>
                  </h2>
                  <h2>
                    <em>￥</em>648
                    <i class="name">33万人付款</i>
                  </h2>
                </div>
              </div>
            </div>
          </a>
          <a href="javascript:;" class="hc-list-item">
            <div class="hc-list-theme-img">
              <img src="../../assets/image/sp4.png" alt="">
            </div>
            <div class="hc-list-theme-message">
              <h3 class="hc-list-theme-subtitle">
                <em>包邮</em> Levi's李维斯男士黑色Box Logo 印花短袖</h3>
              <div class="hc-flex">
                <div class="hc-flex-box">
                  <h2>
                    <i>￥899</i>
                    <em class="red">现金红包</em>
                  </h2>
                  <h2>
                    <em>￥</em>648
                    <i class="name">33万人付款</i>
                  </h2>
                </div>
              </div>
            </div>
          </a>
          <a href="javascript:;" class="hc-list-item">
            <div class="hc-list-theme-img">
              <img src="../../assets/image/sp1.png" alt="">
            </div>
            <div class="hc-list-theme-message">
              <h3 class="hc-list-theme-subtitle">
                <em>包邮</em> Levi's李维斯男士黑色Box Logo 印花短袖</h3>
              <div class="hc-flex">
                <div class="hc-flex-box">
                  <h2>
                    <i>￥899</i>
                    <em class="red">现金红包</em>
                  </h2>
                  <h2>
                    <em>￥</em>648
                    <i class="name">33万人付款</i>
                  </h2>
                </div>
              </div>
            </div>
          </a>
          <a href="javascript:;" class="hc-list-item">
            <div class="hc-list-theme-img">
              <img src="../../assets/image/sp2.png" alt="">
            </div>
            <div class="hc-list-theme-message">
              <h3 class="hc-list-theme-subtitle">
                <em>包邮</em> Levi's李维斯男士黑色Box Logo 印花短袖</h3>
              <div class="hc-flex">
                <div class="hc-flex-box">
                  <h2>
                    <i>￥899</i>
                    <em class="red">现金红包</em>
                  </h2>
                  <h2>
                    <em>￥</em>648
                    <i class="name">33万人付款</i>
                  </h2>
                </div>
              </div>
            </div>
          </a>
        </div> -->
      </section>
    </section>
  </div>
</template>

<script>
import { Toast } from 'vant';
import {
  postGetInfo
} from "../../api/ajax";
export default {
  data() {
    return {
      userinfo: {},
      shopinfo: {},
      shop_status: {},
      shoptotal: 0,
      mytotal: 0,
    }
  },
  methods: {
  async postGetInfo() {
    const { userinfo, shopinfo, shoptotal, mytotal, shop_status } = await postGetInfo();
    this.userinfo = userinfo || {}
    this.shopinfo = shopinfo || {}
    this.shoptotal = shoptotal || '0.00'
    this.mytotal = mytotal || '0.00'
    this.shop_status = shop_status || {}
	},
	handlerUpdateShop() {
		if(this.shop_status.code === 0) {
			Toast('您还没有门店!')
		}else {
			this.jump('addstore', {type: 'edit'})
		}
  },
  handlerMyMessage() {
    window.location.href = `${this.locationUrl}/mobile/chat/client`
  },
	handlerAddGoods() {
		if(this.shop_status.code === 0) {
			Toast('您还没有门店!')
		}else {
			this.jump('addgoods')
		}
	}
  },
  mounted() {
    this.postGetInfo()
  }
}
</script>

<style>
a {
	text-decoration: none;
	color: #000;
}
a, label, button, input, select {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
img {
	width: 100%;
	height: auto;
	display: block;
	border: 0;
}
body {
	background: #f2f2f2;
  color: #666;
}
html, body, div, dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, button, fieldset, form, input, legend, textarea, th, td {
	margin: 0;
	padding: 0;
}
a {
	text-decoration: none;
	color: #08acee;
}
button {
	outline: 0;
}
img {
	border: 0;
}
button, input, optgroup, select, textarea {
	margin: 0;
	font: inherit;
	color: inherit;
	outline: none;
}
li {
	list-style: none;
}
a {
	color: #666;
}
.clearfix::after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}
.clearfix {
}
.divHeight {
	width: 100%;
	height: 10px;
	background: #f5f5f5;
	position: relative;
	overflow: hidden;
}
.r-line {
	position: relative;
}
.r-line:after {
	content: '';
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	height: 100%;
	border-right: 1px solid #D9D9D9;
	-webkit-transform: scaleX(0.5);
	transform: scaleX(0.5);
	-webkit-transform-origin: 100% 0;
	transform-origin: 100% 0;
}
.b-line {
	position: relative;
}
.b-line:after {
	content: '';
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	border-bottom: 1px solid #e2e2e2;
	-webkit-transform: scaleY(0.5);
	transform: scaleY(0.5);
	-webkit-transform-origin: 0 100%;
	transform-origin: 0 100%;
}
.hc-arrow {
	position: relative;
	padding-right: 12px;
}
.hc-arrow span {
	font-size: 12px;
	color: #9b9b9b;
}
.hc-arrow:after {
	content: " ";
	display: inline-block;
	height: 6px;
	width: 6px;
	border-width: 2px 2px 0 0;
	border-color: #848484;
	border-style: solid;
	-webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
	transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
	position: relative;
	top: -2px;
	position: absolute;
	top: 50%;
	margin-top: -4px;
	right: 2px;
	border-radius: 1px;
}
.hc-flex {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	padding: 15px;
	position: relative;
}
.hc-flex-box {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	flex: 1;
	min-width: 0;
	font-size: 14px;
	color: #333;
}
/* 必要布局样式css */

.hc-flexView {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
.hc-scrollView {
	width: 100%;
	height: 100%;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	position: relative;
	padding-bottom: 58px;
}
.hc-navBar {
	height: 44px;
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	z-index: 102;
	background: #f6f6f6;
}
.hc-navBar-item {
	height: 44px;
	min-width: 25%;
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 25%;
	-ms-flex: 0 0 25%;
	flex: 0 0 25%;
	padding: 0 10px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	color: #808080;
	position: relative;
}
.hc-navBar-item:first-child {
	-webkit-box-ordinal-group: 2;
	-webkit-order: 1;
	-ms-flex-order: 1;
	order: 1;
	margin-right: -25%;
	font-size: 10px;
	font-weight: bold;
}
.hc-navBar-item:last-child {
	-webkit-box-ordinal-group: 4;
	-webkit-order: 3;
	-ms-flex-order: 3;
	order: 3;
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
	-ms-flex-pack: end;
	justify-content: flex-end;
}
.hc-center {
	-webkit-box-ordinal-group: 3;
	-webkit-order: 2;
	-ms-flex-order: 2;
	order: 2;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	height: 44px;
	width: 50%;
	margin-left: 25%;
}
.hc-center-title {
	text-align: center;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	display: block;
	text-overflow: ellipsis;
	font-size: 14px;
	color: #333;
}
.icon {
	width: 20px;
	height: 20px;
	display: block;
	border: none;
	float: left;
	background-size: 20px;
	background-repeat: no-repeat;
}
.icon-return {
	background-image: url("");
}
.m-slider {
	overflow-x: hidden;
	width: 100%;
	position: relative;
}
.slider-wrapper {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	height: 100%;
	-webkit-transform: translate3d(0px, 0px, 0px);
	transform: translate3d(0px, 0px, 0px);
	position: relative;
	z-index: 1;
	-webkit-transition-property: -webkit-transform;
	transition-property: -webkit-transform;
	transition-property: transform;
	transition-property: transform, -webkit-transform;
}
.slider-item {
	width: 100%;
	height: 100%;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	background: #f6f6f6;
}
.slider-item img {
	width: 100%;
	height: auto;
	display: block;
	border: none;
}
.slider-pagination {
	text-align: right;
	position: absolute;
	width: 100%;
	z-index: 2;
	right: 0;
	bottom: 10px;
	pointer-events: none;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: end;
	-webkit-align-items: flex-end;
	-ms-flex-align: end;
	align-items: flex-end;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.slider-pagination > .slider-pagination-item {
	margin: 0 6px;
	width: 8px;
	height: 8px;
	display: inline-block;
	border-radius: 100%;
	background-color: rgba(255,255,255,0.4);
}
.slider-pagination > .slider-pagination-item.slider-pagination-item-active {
	background-color: #fff;
	border-radius: 100%;
}
.hc-palace {
	padding: 4px 0;
	position: relative;
	overflow: hidden;
}
.hc-palace-grid {
	position: relative;
	float: left;
	padding: 1px;
	width: 20%;
	box-sizing: border-box;
	margin: 5px 0;
}
.hc-message-icon {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ff5303;
  top: 0px;
  right: 0px;
}
.hc-palace-grid-icon {
	width: 40px;
	height: 40px;
	margin: 0 auto;
  position: relative;
}
.hc-palace-grid-icon img {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
}
.hc-palace-grid-text {
	display: block;
	text-align: center;
	color: #333;
	font-size: 12px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	padding-top: 4px;
}
.hc-palace-grid-text h2 {
	font-size: 12px;
	font-weight: normal;
	color: #666666;
}
.hc-head-read {
	background: -webkit-linear-gradient(left, #f79846, #f77e46); /* Safari 5.1 - 6.0 */
	background: -o-linear-gradient(right, #f79846, #f77e46); /* Opera 11.1 - 12.0 */
	background: -moz-linear-gradient(right, #f79846, #f77e46); /* Firefox 3.6 - 15 */
	background: linear-gradient(to right, #f79846, #f77e46); /* 标准的语法 */
	background-color: #f79846;
  padding-bottom: 40px;;
  padding-top: 20px;
}
.hc-read-img {
	width: 50px;
	height: 50px;
	border-radius: 100%;
	overflow: hidden;
	margin-right: 4px;
	border: 2px solid rgba(255,255,255,0.3);
}
.hc-flex-box h2 {
	color: #fff;
	font-weight: normal;
}
.hc-arrow-one span {
	color: white;
}
.hc-arrow-one:after {
	border-color: white;
	margin-top: -3px;
}
.hc-white-box {
	width: 94%;
	background: white;
	border-radius: 5px;
	margin: -30px auto 12px;
}
.hc-palace-one .hc-palace-grid {
	width: 50%;
}
.hc-palace-one h1 {
	color: #ff3d22;
	font-size: 16px;
	-webkit-text-stroke: 1px #ff3b23;
	color: #ff3b23;
	letter-spacing: 1px;
	margin-bottom: 5px;
}
.hc-palace-one h1 em {
	color: #7f7f7f;
	font-weight: normal;
	font-style: normal;
	font-size: 12px;
	-webkit-text-stroke: 0 #7f7f7f;
	color: #7f7f7f;
}
.hc-white-box-clear {
	margin: 0 auto 12px;
}
.hc-flex-box h3 {
	font-size: 10px;
	font-weight: normal;
}
.hc-palace-two .hc-palace-grid {
	width: 25%;
}
.hc-palace-line {
	position: relative;
}
.hc-palace-line .hc-palace-grid:not(:nth-child(4n)):before {
 content: '';
 position: absolute;
 z-index: 0;
 top: 0;
 right: 0;
 height: 70%;
 border-right: 1px solid #e6e6e6;
 -webkit-transform: scaleX(0.5);
 transform: scaleX(0.5);
 -webkit-transform-origin: 100% 0;
 transform-origin: 100% 0;
}
.hc-read-title {
	width: 100%;
	margin: 20rem auto 2rem;
}
.hc-list-theme-box {
	padding: 0 8px;
	overflow: hidden;
	position: relative;
}
.hc-list-item {
	width: 48%;
	float: left;
	margin: 0 1% 2% 1%;
	background: #fff;
	display: block;
	overflow: hidden;
	border-radius: 8px;
}
.hc-list-theme-img {
	height: auto;
	width: 100%;
	position: relative;
}
.hc-list-theme-img img {
	width: 100%;
	height: auto;
	display: block;
	border: none;
}
.hc-list-theme-message {
	background: #fff;
	padding-top: 4px;
}
.hc-list-theme-title {
	color: #333333;
	font-size: 14px;
	line-height: 1.2;
	padding: 5px 4px;
	word-wrap: normal;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	text-align: justify;
}
.hc-list-theme-subtitle {
	color: #323232;
	font-size: 12px;
	font-weight: normal;
	padding: 0 4px;
}
.hc-list-theme-message h4 {
	color: #343434;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.2;
	padding: 12px 4px;
	word-wrap: normal;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	text-align: justify;
}
.hc-list-theme-message h4 em {
	background: #f10e3c;
	color: #fff;
	border-radius: 2px;
	font-size: 12px;
	font-weight: normal;
	font-style: normal;
	margin-right: 0.2rem;
	padding: 2px;
	float: left;
}
.hc-list-theme-message h4 i img {
	width: 20px;
	height: 19px;
	display: block;
	border: none;
	float: left;
}
.hc-list-theme-message .hc-flex {
	padding: 1px 10px 3px 10px;
}
.hc-list-theme-message .hc-flex-box h2 {
	color: #fb1b18;
	font-size: 14px;
	text-align: left;
	margin-bottom: 4px;
}
.hc-flex-box h2 em {
	color: #fb1b18;
	font-style: normal;
	font-size: 12px;
	font-weight: normal;
}
.hc-flex-box h2 i {
	color: #a5a5a5;
	text-decoration: line-through;
	font-weight: normal;
	font-style: normal;
	font-size: 12px;
}
.hc-list-theme-subtitle em {
	background: #fd5003;
	border-radius: 2px;
	color: #fff;
	font-size: 12px;
	padding: 0;
	font-style: normal;
	margin-right: 2px;
}
.red {
	background: #fdf5f3;
	border-radius: 2px;
	color: #fe4d3d;
	font-size: 12px;
	padding: 0 2px;
	font-style: normal;
	border: 1px solid #ff6a38;
}
.hc-flex-box h2 .name {
	text-decoration: inherit;
	text-align: right;
	float: right;
}
.hc-footer {
	width: 100%;
	position: relative;
	z-index: 100;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 7px 5px 7px 5px;
	background: #fff;
}
.hc-tabBar-item {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	color: #979797;
}
.hc-tabBar-item-text {
	display: inline-block;
	font-size: 12px;
	color: #818085;
	padding-top: 2px;
}
.hc-tabBar-item-active .hc-tabBar-item-text {
	color: #f00d3b;
}
.icon-loan {
	background-image: url('');
}
.icon-credit {
	background-image: url('');
}
.icon-ions {
	background-image: url('');
}
.icon-car {
	background-image: url('');
}
.icon-mine {
	background-image: url('');
}
.hc-footer-fixed {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 49;
}

</style>
